@import './mixin.scss';
.container{
    position: relative;
    width: 1226px;
    margin-right: auto;
    margin-left: auto;
}
@mixin display{
    display: inline-block;
}
a{
    img{
        width: 100%;
        height: 100%;
    }
}
input{
    outline: none;
    box-sizing: border-box;
    font-size: 14px;
  }

.fl{
  float: left;
}
.fr{
  float: right;
}
.clearfix:before,.clearfix:after{
  content:' ';
  display:table;
}
.clearfix:after{
  clear: both;
}
// 小米公共logo
.header-logo {
  background-color: #ff6600;
  @include display;
  width: 55px;
  height: 55px;
  a {
    @include display;
    width: 110px;
    height: 55px;
    &:before {
      content: "";
      /* @include display;
     width: 55px;
     height: 55px;
     background: url('../../public/imgs/mi-logo.png') no-repeat center;
     background-size: contain; */
      @include bgImg(55px, 55px, "/imgs/mi-logo.png");

      transition: margin .2s;
    }
    &:after {
      content: "";
      /* width: 55px;
     height: 55px;
     background: url('../../public/imgs/mi-home.png') no-repeat center;
     background-size: contain; */
      @include bgImg(55px, 55px, "/imgs/mi-home.png");
    }
    &:hover:before {
      margin-left: -55px;
      transition: margin.2s;
    }
  }
}